package Code.Day7_20240924.com.dx.day07;

import java.sql.*;

/**
 * @ClassName MySchoolDb
 * @Description TODO:
 * @Author 12994
 * @Date 2024/9/24 12:54
 * @Version 1.0
 **/
public class MySchoolIO implements SqlIO {

    @Override
    public Connection getConn() {
        try {
            return DriverManager.getConnection(jdbcUrl + "myschool_db", jdbcUser, jdbcPassword);
        } catch (SQLException e) {
            e.printStackTrace();
            return null;
        }

    }
}
